package com.gc.server.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 评分实体
 * 表名 score
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Tue Mar 10 11:17:45 CST 2020
 */
@Setter
@Getter
public class ScoreEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
        //日程ID
    private Long todoId;
        //评分项名称
    private String name;
        //备注
    private String remark;
        //分数
    private BigDecimal point;
        //接收人ID
    private Long userId;
        //评分人ID
    private Long adminId;
        //评分人名称
    private String adminName;

    public ScoreEntity(){

    }

    public ScoreEntity(Long todoId, String name, String remark, BigDecimal point, Long userId, Long adminId, String adminName) {
        this.todoId = todoId;
        this.name = name;
        this.remark = remark;
        this.point = point;
        this.userId = userId;
        this.adminId = adminId;
        this.adminName = adminName;
    }
}
